import {
  Controller,
  Get, Post, Redirect, HttpCode, Header,
  Req, Request, Query, Headers, Session, Ip, Param, Body, Res, Response, Next, Inject,
} from '@nestjs/common'

// 提供者
import { OtherService } from './other.service'

@Controller()
export class AppController {
  constructor(
    private otherService: OtherService
  ) { }

  @Get()
  handle() {
    this.otherService.log()
    return 'provider'
  }

}
